
package com.p2p.trans.client.enums;



/**
 * 充值标记
 * 
 * @author xu.zhaox
 * 
 */
public enum DepositFlagEnum {

    DEPOSIT(1), WITHDRAW(-1), NONE(0);
    
    private final int intValue;
    
    DepositFlagEnum(int intValue) {
        this.intValue = intValue;
    }
    
    public int getIntValue() {
        return this.intValue;
    }
    
    public static DepositFlagEnum getByIntValue(int value) {
        for (DepositFlagEnum item : values()) {
            if (item.intValue == value) {
                return item;
            }
        }
        
        return null;
    }
}